package com.fuxin.hanfu.uitls;

import lombok.Data;

@Data
public class MyResponse {
    private boolean flag;
    private Object data;
    public static MyResponse toJson(boolean flag, Object data){
        MyResponse response = new MyResponse();
        response.flag = flag;
        response.data = data;
        return response;
    }
}
